home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ROADS15.ARJ / READ.ME < prev    next >
Text File  |  1994-04-05  |  2KB  |  55 lines

  1. 4/1/94
  2.  
  3. Don and I have decided to charge $50 for ROADS, plus $150 for the source
  4. code.
  5.  
  6. 4/2/94
  7.  
  8. April Fools.
  9.  
  10. ROADS is an attempt to play around with tiles and tiling methods.
  11. We were working on ROADS before Diana Gruber's PC Techniques
  12. articles on tiling came out, and I thought it would be nice to share
  13. some code showing a different mechanism for tiling.  It was written
  14. using Borland C++ 3.1 (by choice) and Fastgraph from Ted Gruber
  15. Software.
  16.  
  17. ROADS uses 16x16 tiles that were drawn in Autodesk Animator.  They
  18. are stored on a hidden page in Mode-X and screen-to-screen copied as
  19. needed.  ROADS implements page flipping, so the frame rate will max
  20. out at 70fps (although I only get 29fps on my 386/40).  The screen
  21. scroll rate is 16 pixels, although 4 pixel scrolling could be added
  22. fairly easily by doing partial-tile copies.  The scrolling is pretty
  23. fast because, like in Diana Gruber's article, we copy the still
  24. valid portion of the screen to the new page, then update the new
  25. tiles.
  26.  
  27. Tiles can animate (I'm pretty proud of my fire pit animation), even
  28. while scrolling, and fading.  The fading algorithm is based on a
  29. previous upload to the Dusk Devil BBS -- I took out the floating
  30. point calculations and made some modifications.  There's also a
  31. walking frog with red sneakers.  To discover what keys you can press
  32. when the program is running, type ROADS /?.  "Frog watch mode"
  33. doesn't work -- I wrote some bad code, and decided it wasn't worth
  34. fixing.  So much for the hacker ethic.
  35.  
  36. The program uses Fastgraph's keyboard handler, so you can press, for
  37. example, down and right arrows together, and the view will scroll
  38. down right.
  39.  
  40. Feel free to take any of the code you like for your own use.  I'm
  41. providing it because ... uh ... because I'm altruistic?  Nah.  The
  42. program doesn't really DO anything, just tests out some tiling
  43. algorithms.  Don flipped when I said I wanted to distribute the
  44. code, but when I reminded him that ROADS was an exercise in
  45. futility, he agreed we should share the pain.
  46.  
  47. If you have any questions, comments, or conversation, I'd be pleased
  48. to hear from you.  Have fun!
  49.  
  50. Dust Devil BBS (Home of Fastgraph):  Eric Lund
  51. Delphi:  ELUND or elund@delphi.com
  52. GEnie:  e.lund1 though I think I going to cancel it
  53. Compuserve:  74041,1147 or 74041.1147@compuserve.com
  54.  
  55.